gl renderer: Fix scale computation
authorTimm Bäder <mail@baedert.org>
Sun, 2 Jun 2019 08:25:39 +0000 (10:25 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 2 Jun 2019 08:25:39 +0000 (10:25 +0200)
commitdb548ee2a05ab1d2bc9bb44de9d20111e485dbe6
treeaf4577c3e25840ae25850ef6a37066c83495b3c5
parentf999572e8f963dbf7d537bcb7df9143fd5570473
gl renderer: Fix scale computation

We don't need to just look at the scale of the new modelview matrix, but
at the one we get when multiplying the new one with the current one.

Test case attached.
gsk/gl/gskglrenderops.c
testsuite/gsk/compare/scale-up-down.node [new file with mode: 0644]
testsuite/gsk/compare/scale-up-down.png [new file with mode: 0644]
testsuite/gsk/meson.build